import type { DepartItem } from "@/types/department"
import { request } from "@/utils/request"

export const getDepartmentAllAPI = ()=>{
  return request<DepartItem[]>('/dep/all')
}